<div class="container">
    <div>
        <div id="main">
            <div class="login-register">
                <div class="row">
                    <div class="span9">
                        <ul class="tabs nav nav-tabs">
                            <li style="width: 34%;" class="active"><a href="<?= Yii::app()->createUrl(Yii::app()->getModule('user')->recoveryUrl[0]); ?>"><?= UserModule::t("Lost Password?"); ?></a></li>
                        </ul>
                        <!-- /.nav -->

                        <div class="tab-content">
                            <div class="tab-pane active" id="recovery">
                                <?php if (Yii::app()->user->hasFlash('recoveryMessage')) { ?>
                                    <div class="alert alert-success">
                                        <button type="button" class="close" data-dismiss="alert">×</button>
                                    <?php echo Yii::app()->user->getFlash('recoveryMessage'); ?>
                                    </div>
                                <?php } ?>
                                
                                <?php
                                    echo CHtml::beginForm('', 'post', array(
                                        'class' => 'contact-form'
                                    ));
                                ?>
                                
                                <?php if (CHtml::errorSummary($form)) { ?> 
                                    <div class="alert alert-error">
                                        <button type="button" class="close" data-dismiss="alert">×</button>
                                        <?php echo CHtml::errorSummary($form); ?>
                                    </div>
                                <?php }; ?>


                               <?php $field = 'login_or_email'; ?>
                               <div class="name control-group" style="float: none;">
                                    <label class="control-label" for="inputContactName">
                                        Электронная почта
                                        <span class="form-required" title="This field is required.">*</span>
                                    </label>
                                    <div class="controls">
                                        <?php
                                            echo CHtml::activeTextField($form, $field, array(
                                                'placeholder' => 'Пожалуйста, введите aдрес электронной почты.',
                                            ))
                                        ?>
                                    </div><!-- /.controls -->
                                </div><!-- /.control-group -->
                                
                                <div class="control-group">
                                    <div class="controls">
                                        <?php echo CHtml::link('Войти', array('/user/login'));?> | <?php echo CHtml::link('Регистрация', array('/user/registration'));?>
                                    </div><!-- /.controls -->
                                </div><!-- /.control-group -->

                                <div class="control-group">
                                    <div class="controls">
                                        <?php echo CHtml::submitButton(UserModule::t("Restore"), array('class' => 'btn btn-primary arrow-right')); ?>
                                    </div><!-- /.controls -->
                                </div><!-- /.control-group -->


                                <?php echo CHtml::endForm(); ?>
                            </div>
                            <!-- /.tab-pane -->

                        </div>
                        <!-- /.tab-content -->
                    </div>
                    <!-- /.span9-->
                    
                    <div class="span3"></div>
                    
                </div>
                <!-- /.row -->
            </div><!-- /.login-register -->        </div>
    </div>
</div>